from htmltestreport import HTMLTestReport
import unittest

from After_Class.app import BASE_DIR
from After_Class.case.test_login import Testlogin

suite = unittest.TestSuite()
suite.addTest(unittest.TestLoader().loadTestsFromTestCase(Testlogin))
runner = HTMLTestReport(BASE_DIR+'/report/login.html','登录验证','练习')
runner.run(suite)